package com.bage.finance.biz.mapper;

import com.bage.finance.biz.domain.MemberBindPhone;
import com.bage.mybatis.help.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberBindPhoneMapper extends CommonMapper<MemberBindPhone> {
    /**
     * 根据手机号查询
     *
     * @param phone
     * @return
     */
    @Select("select * from member_bind_phone where phone = #{phone}")
    MemberBindPhone getByPhone(@Param("phone") String phone);
}